package day_161227;

import redis.clients.jedis.Jedis;
public class RedisJava {
	public static void main(String[] args) {
		Jedis jedis = new Jedis("127.0.0.1");
		System.out.println("Connection to server successfully");
		System.err.println("Server is running:"+jedis.ping());
		jedis.set("name", "heheh");
		System.out.println(jedis.get("name1"));
	}
}
